#include <fermat/common/string.h>
#include <gtest/gtest.h>
#include <string>
using std::string;

TEST(common, string_trimleft)
{
    string a =" body ";
    string b = fermat::trimLeft(a);
    EXPECT_EQ(b, "body "); 
}


TEST(common, string_trimleftInPace)
{
    string a =" body ";
    fermat::trimLeftInPlace(a);
    EXPECT_EQ(a, "body "); 
}
